using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using QLKS.DTO;

namespace QLKS.DAO
{
    public class ChiPhiVatTu_DAO
    {
        clsQLKS obj = new clsQLKS();

        //Lay ma cpvt moi
        public int GetMaCPVT()
        {
            return obj.GetMaCPVT();
        }

        //them hoa don
        public Boolean INSERT_CPVT(ChiPhiVatTu_DTO cp)
        {
            return obj.INSERT_CPVT(cp);
        }

        //cap nhat hoa don
        public Boolean UPDATE_CPVT(ChiPhiVatTu_DTO cp)
        {
            return obj.UPDATE_CPVT(cp);
        }

        //Xoa hoa don
        public Boolean DELETE_CPVT(ChiPhiVatTu_DTO cp)
        {
            return obj.DELETE_CPVT(cp);
        }

        //lay ds cpvt
        public DataTable GetCPVT()
        {
            return obj.GetData("ChiPhiVatTu");
        }
    }
}
